<%@ page language="java" import="java.util.*"
	contentType="text/html; charset=utf-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
	<tiltle></tiltle>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
			<link rel="stylesheet" type="text/css" href="../css/add.css" />
			<script type="text/javascript" src="../js/jquery-1.4.4.min.js">
</script>
			<script type="text/javascript"
				src="../../xheditor/xheditor-1.1.14-zh-cn.min.js">
</script>
			<script type="text/javascript">
</script>
	</head>


	<body style="background: #C0DEED;">


		<div class="title">
			Management center
		</div>
		<div class="welcome">
			Published articles
		</div>



		<!--  <div id="content"> -->
		<form action="../../AddArticle" method="post" name="form"
			onsubmit="check()">
			<div class="submit-content">
				<table>
					<tbody>
						<tr>
							<th
								style="width: 200px; text-indent: 1em; text-align: left; background: url(../images/bg-btn-blue.png) repeat-x;">
								Title:
							</th>
							<td>
								<input style="height: 20px; width: 400px" type="text"
									class="article-title" name="title" id="title" />
							</td>
						</tr>

						<tr>
							<th
								style="width: 200px; text-indent: 1em; text-align: left; background: url(../images/bg-btn-blue.png) repeat-x;">
								Type:
							</th>
							<td>
								<select type="text" name="type"
									style="height: 20px; width: 150px; text-align: left">


									<option value="">
										==Please select==
									</option>
									<option value="0">
										Chinese
									</option>
									<option value="1">
										English
									</option>
								</select>
							</td>
						</tr>
					</tbody>
					<tfoot>
						<tr>
							<th class="content"
								style="width: 200px; line-height: 40px; border-bottom: none; text-indent: 1em;">
								Content:
							</th>
							<td>
								<textarea name="content"
									class="xheditor {tools:'Blocktag,Fontface,FontSize,Bold,Italic,Underline,Strikethrough,FontColor,BackColor,Removeformat,Align,Cut,Copy,Paste,Pastetext,|,Source,Fullscreen'}"
									style="width: 650px; height: 250px;" id="content"></textarea>
							</td>
						</tr>
					</tfoot>
				</table>
				<!--  	<div class="wenzi">
		<div class="wenzilist" style="width:300px;text-indent:1em;" >Content:</div>
		<div class="wenzicontent"><textarea name="textarea" style="width:600px;height:250px;"></textarea></div>
	</div>
-->
			</div>
			<div class="button">
				<input type="submit" onclick="return check()" class="text-submit"
					value="submit" />
				<script type="text/javascript">
function check() {
	var t = document.getElementById('title');
	if (t.value.length == 0) {
		alert("标题不能为空");
		t.value = "";
		t.focus();
		return false;
	} else {
		return true;
	}
}
</script>
				<input type="reset" class="reset" value="reset" />
			</div>
			<!-- </div>  -->
		</form>
		<div id="footer"></div>


	</body>
</html>